﻿using Microsoft.Extensions.Logging;

namespace Quantum.SignalR
{
    internal class EchoReplier : AbstractReplier
    {
        private readonly ILogger _logger;

        public EchoReplier(ILoggerFactory loggerFactory)
        {
            _logger = loggerFactory.CreateLogger(typeof(EchoReplier));
        }

        public override void Send(string message)
        {
            _logger.LogInformation("SignalRPublisher received message from client by send: [" + message + "]");
            base.Send(message);
        }
    }
}
